package cn.nawang.ebeim.api.bean;

import java.util.Map;

import cn.nawang.ebeim.api.utils.Constant;

/**
 * 
 * @ClassName: WarnMessBean
 * @Description: TODO
 * @author huanghj
 * @date 2015年10月27日 下午3:26:52
 * @version v1.0
 */
 public class WarnMessBean {
 

  private int id;
  private int warnType;
  private int warnLevel;
  private long warnTime;
  private int warnPart;
  private String warnDesc;
  private String userId;

  private final Map<String, String> warnLevelMap = Constant.WARN_LEVEL;
  private final Map<String, String> warnPartMap = Constant.WARN_PART;
  private final Map<String, String> warnTypeMap = Constant.WARN_TYPE;

  public WarnMessBean() {}

  public WarnMessBean(int id, int warnType, int warnLevel, long warnTime, int warnPart,
      String warnDesc, String userId) {
    super();
    this.id = id;
    this.warnType = warnType;
    this.warnLevel = warnLevel;
    this.warnTime = warnTime;
    this.warnPart = warnPart;
    this.warnDesc = warnDesc;
    this.userId = userId;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public int getWarnType() {
    return warnType;
  }

  public void setWarnType(int warnType) {
    this.warnType = warnType;
  }

  public int getWarnLevel() {
    return warnLevel;
  }

  public void setWarnLevel(int warnLevel) {
    this.warnLevel = warnLevel;
  }

  public long getWarnTime() {
    return warnTime;
  }

  public void setWarnTime(long warnTime) {
    this.warnTime = warnTime;
  }

  public int getWarnPart() {
    return warnPart;
  }

  public void setWarnPart(int warnPart) {
    this.warnPart = warnPart;
  }

  public String getWarnDesc() {
    return warnDesc;
  }

  public void setWarnDesc(String warnDesc) {
    this.warnDesc = warnDesc;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public Map<String, String> getWarnLevelMap() {
    return warnLevelMap;
  }

  public Map<String, String> getWarnPartMap() {
    return warnPartMap;
  }

  public Map<String, String> getWarnTypeMap() {
    return warnTypeMap;
  }

  @Override
  public String toString() {
    return "WarnMessBean [id=" + id + ", warnType=" + warnType + ", warnLevel=" + warnLevel
        + ", warnTime=" + warnTime + ", warnPart=" + warnPart + ", warnDesc=" + warnDesc
        + ", userId=" + userId + ", warnLevelMap=" + warnLevelMap + ", warnPartMap=" + warnPartMap
        + ", warnTypeMap=" + warnTypeMap + "]";
  }
}
